package main

import (
	"gitee.com/dark.H/gs"
	"gitee.com/dark.H/gt"
)

func main() {

	items := gs.List[gs.Str]{
		"[aes-256-cfb][mode:][Single][match.p4p.1688.com]",
		"[aes-256-cfb][mode:][Single][s2.ssl.qhres2.com]",
		"[aes-256-cfb][mode:][Single][p1.ssl.qhimg.com]",
		"[aes-256-cfb][mode:][Single][s3m4.fenxi.com]",
		"[aes-256-cfb][mode:][Single][ssxd.mediav.com]",
		"[aes-256-cfb][mode:][Single][p1.ssl.qhimgs3.com]",
		"[aes-256-cfb][mode:][Single][ssxd.mediav.com]",
		"[aes-256-cfb][mode:][Single][ssxd.mediav.com]",
		"[aes-256-cfb][mode:][Single][ssxd.mediav.com]",
		"[aes-256-cfb][mode:][Single][p2.ssl.qhimg.com]",
		"[aes-256-cfb][mode:][Single][ssxd.mediav.com]",
		"[aes-256-cfb][mode:][Single][s.ssl.qhres2.com]",
		"[aes-256-cfb][mode:][Single][p2.ssl.qhimg.com]",
		"[aes-256-cfb][mode:][Single][s3m2.fenxi.com]",
		"[aes-256-cfb][mode:][Single][s3m2.fenxi.com]",
		"[aes-256-cfb][mode:][Single][s3m2.fenxi.com]",
		"[aes-256-cfb][mode:][Single][ssxd.mediav.com]",
		"[aes-256-cfb][mode:][Single][s3m2.fenxi.com]",
		"[aes-256-cfb][mode:][Single][s3m4.fenxi.com]",
		"[aes-256-cfb][mode:][Single][s3m4.fenxi.com]",
		"[aes-256-cfb][mode:][Single][s3m4.fenxi.com]",
		"[aes-256-cfb][mode:][Single][s3m4.fenxi.com]",
		"[aes-256-cfb][mode:][Single][s3m4.fenxi.com]",
		"[aes-256-cfb][mode:][Single][lib.sinaapp.com]",
		"[aes-256-cfb][mode:][Single][show-g.mediav.com]",
		"[aes-256-cfb][mode:][Single][s3m.mediav.com]",
		"[aes-256-cfb][mode:][Single][max-l.mediav.com]",
		"[aes-256-cfb][mode:][Single][www.google.com]",
		"[aes-256-cfb][mode:][Single][www.google.com]",
		"[aes-256-cfb][mode:][Single][alive.github.com]",
		"[aes-256-cfb][mode:][Single][www.google.com]",
		"[aes-256-cfb][mode:][Single][nexus-websocket-a.intercom.io]",
		"[aes-256-cfb][mode:][Single][alive.github.com]",
		"[aes-256-cfb][mode:][Single][www.google.com]",
		"[aes-256-cfb][mode:][Single][alive.github.com]",
		"[aes-256-cfb][mode:][Single][nexus-websocket-a.intercom.io]",
		"[aes-256-cfb][mode:][Single][www.google.com]",
		"[aes-256-cfb][mode:][Single][nexus-websocket-a.intercom.io]",
		"[aes-256-cfb][mode:][Single][alive.github.com]",
		"[aes-256-cfb][mode:][Single][nexus-websocket-a.intercom.io]",
		"[aes-256-cfb][mode:][Single][alive.github.com]",
		"[aes-256-cfb][mode:][Single][alive.github.com]",
		"[aes-256-cfb][mode:][Single][nexus-websocket-a.intercom.io]",
		"[aes-256-cfb][mode:][Single][www.google.com]",
		"[aes-256-cfb][mode:][Single][alive.github.com]",
	}

	// t := gt.NewListItemsPanel(items)
	// t.SetLoc(1, 1).SetBorder(true).SetSize(100, 20).SetTitle("liste choose one")
	// t.Focus()
	gt.QuickListSelect(items, 10, 10, 30, 60).Println()
}
